﻿@model SimilarPageViewModel
<div id="@Model.HtmlIdPrefix-upload-history" class="row">
    <div class="col-md-12">
        <form class="form-inline">
            <fieldset>
                <div class="form-group">
                    <label for="@Model.HtmlIdPrefix-upload-history-from">导入日期从</label>
                    <input id="@Model.HtmlIdPrefix-upload-history-from" type="date" readonly="readonly" class="form-control input-sm" />
                </div>
                <div class="form-group">
                    <label for="@Model.HtmlIdPrefix-upload-history-to">到</label>
                    <input id="@Model.HtmlIdPrefix-upload-history-to" type="date" readonly="readonly" class="form-control input-sm" />
                </div>
                <div class="form-group">
                    <label for="@Model.HtmlIdPrefix-upload-history-person">导入人</label>
                    <select class="form-control input-sm" id="@Model.HtmlIdPrefix-upload-history-person">
                        <option value=""></option>
                        @foreach (var user in BusinessHelper.Employees)
                        {
                            <option value="@user.DisplayName">@user.DisplayName</option>
                        }
                    </select>
                </div>
                <button type="button" class="btn btn-primary btn-sm" id="@Model.HtmlIdPrefix-upload-history-search"><span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询</button>
                <button type="button" class="btn btn-default btn-sm" id="@Model.HtmlIdPrefix-upload-history-clear"><span class="glyphicon glyphicon-repeat" aria-hidden="true"></span> 重置查询条件</button>
            </fieldset>
        </form>
        <div class="table-responsive">
            <table id="@Model.HtmlIdPrefix-upload-history-result" class="table table-striped table-bordered table-hover">
                <thead>
                    <tr><th>导入日期</th><th>导入人</th><th>导入商品</th><th>导入方式</th><th class="text-right">导入数量</th><th>状态</th></tr>
                </thead>
                <tbody></tbody>
                <tfoot>
                    <tr>
                        <th colspan="6">
                            <nav>
                                <ul class="pager">
                                    <li><a id="@Model.HtmlIdPrefix-upload-history-prev" href="javascript:void(0)">上一页</a></li>
                                    <li><a id="@Model.HtmlIdPrefix-upload-history-next" href="javascript:void(0)">下一页</a></li>
                                </ul>
                            </nav>
                        </th>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>

